<?
	session_start();
	require_once("../librarys/funs/classdb.php");
	//echo $_SESSION['captcha_code'];die;
	$t = new db;
	$bien['hoten']=$_GET['hoten'];
	$bien['dienthoai']=$_GET['dienthoai'];
	$bien['email']=$_GET['email'];
	$bien['diachi']=$_GET['diachi'];
	$bien['noidung']=$_GET['noidung'];
	unset($bien['cap']);
	$now = getdate();
	$ngay = $now["year"]."-".$now["mon"]."-".$now["mday"]." ".$now["hours"].":".$now["minutes"].":".$now["seconds"];
	$bien['ngay']=$ngay;
	$bien['thutu']=$t->get_thutu("contact");
		//print_r($bien);die;
	$res=$t->insertObject1("contact",$bien);
	
?>